<?php



namespace App\Services\Business\Models;

use App\Services\Member\Models\User;
use Illuminate\Database\Eloquent\Model;
use App\Services\Business\Models\Wish;

class WishList extends Model
{

    protected $table = 'wish_list';

    protected $fillable = [
        'user_id','wish_id','point','days'
    ];



    public function user()
    {
        return $this->belongsTo(User::class, 'user_id');
    }
    public function wish()
    {
        return $this->belongsTo(Wish::class, 'wish_id');
    }

}

